/*
 * Copyright (c) $today.year-Now http://www.zxpnet.com All rights reserved.
 */

package com.zxp.hello.service;

import com.zxp.hello.properties.HelloProperties;
import lombok.RequiredArgsConstructor;

/**
 * @desc:
 * @author: shollin
 * @date: 2021/6/20/020 10:55
 */
@RequiredArgsConstructor
public class HelloService {

    private final HelloProperties helloProperties;

    public String say(){
        return  helloProperties.getUsername()+" say: "+ helloProperties.getMsg();
    }
}
